package cn.xiaopengstack.types.common;

/**
 * @author jiangyangang
 */
public class Constants {

    public final static String SPLIT = ",";
    public static final String SPACE = " ";
    public static final String COLON = ":";
    public static final String AND_SIMPLE = "&";
    public static final String UNDERLINE = "_";

    public static class RedisKey {
        public static final String STRATEGY_KEY = "big_market:strategy:";
        public static final String RULE_TREE_VA_KEY = "big_market:strategy:rule_tree_vo:";
        public static final String STRATEGY_AWARD_STOCK_KEY = "big_market:strategy:award_stock_key:%s:%s";
        public static final String STRATEGY_AWARD_STOCK_DECR_KEY = "big_market:strategy:award_stock_decr_key:%s:%s:%s";
        public static final String STRATEGY_AWARD_STOCK_QUEUE_KEY = "big_market:strategy:award_stock_queue_key:%s:%s";
        public static final String STRATEGY_AWARD_STOCK_REGISTER_QUEUE_TABLE_KEY = "big_market:strategy:award_stock_register_queue_table_key";
        public static final String ACTIVITY_ENTITY_KEY = "big_market:activity:entity:%s";
        public static final String ACTIVITY_COUNT_KEY = "big_market:activity:count:entity:%s";
        public static final String ACTIVITY_ACCOUNT_KEY = "big_market:activity:account:entity:%s:%s";
        public static final String ACTIVITY_SKU_STOCK_KEY = "big_market:activity:stock:sku:%s";
        public static final String ACTIVITY_SKU_STOCK_LOCK_KEY = "big_market:activity:stock:sku:lock:%s:%s";
        public static final String ACTIVITY_SKU_STOCK_QUEUE_KEY = "big_market:activity:stock:sku:queue:%s:%s";
        public static String STRATEGY_AWARD_KEY = "big_market:strategy:strategy_award_key:";
        public static String STRATEGY_RATE_TABLE_KEY = "big_market:strategy:strategy_rate_table_key:";
        public static String STRATEGY_RATE_RANGE_KEY = "big_market:strategy:strategy_rate_range_key:";
        public static String CREDIT_ORDER_SAVE_LOCK_KEY = "big_market:credit:save_order_lock_key:%s";
    }

}
